package com.kt.emall.product.feign;

import com.kt.common.to.es.SkuEsModel;
import com.kt.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * Description: 检索服务远程服务
 * Created with IntelliJ IDEA.
 *
 * @author: KamTeng
 * Date: 2021/8/9
 */
@FeignClient("emall-search")
public interface SearchFeignService {

    @PostMapping("/search/save/product")
    R productStatusUp(@RequestBody List<SkuEsModel> skuEsModels);
}
